[<<Previous Entry]
[^^Up^^]
[Next Entry>>]
[Menu]
[About The Guide]
DELCHRS
. Summary
delchrs(str <s>, int <pos>, int <num>);
. Description
The delchrs function is used to remove or delete a number of charac-
ters in a string at a certain position. <s> is the string to handle.
<pos> is the position at which <num> characters will be deleted
(note that the first characters in a SALT string has the position
0). Remaining characters in the string are be shifted left.
. Return Value
None.
. Example
// remove all but the first and last characters in a string
str s[] = "0123456789";
delchrs(s, 1, strlen(s) - 2);
See Also:
inschrs
This page created by ng2html v1.05, the Norton guide to HTML conversion utility.
Written by Dave Pearson